package rjeutsky.models.builders;

import rjeutsky.models.CardThema;
import rjeutsky.models.CardType;

public class ConcreteOldCardBuilder extends OldCardBuilder {

	String author;
	String country;
	CardThema thema;
	CardType type;
	String valuable;
	int year;
	
	@Override
	public void buildAuthor() {
		card.setAuthor(author);
	}

	@Override
	public void buildCountry() {
		card.setCountry(country);
	}

	@Override
	public void buildThema() {
		card.setThema(thema);
	}

	@Override
	public void buildType() {
		card.setType(type);
	}

	@Override
	public void buildValuable() {
		card.setValuable(valuable);
	}

	@Override
	public void buildYear() {
		card.setYear(year);
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public CardThema getThema() {
		return thema;
	}

	public void setThema(CardThema thema) {
		this.thema = thema;
	}

	public CardType getType() {
		return type;
	}

	public void setType(CardType type) {
		this.type = type;
	}

	public String getValuable() {
		return valuable;
	}

	public void setValuable(String valuable) {
		this.valuable = valuable;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

}
